package com.hongfeng.support.item.exp;

import java.io.Serializable;

import com.hongfeng.support.item.tag.OrderOperator;

/**
 * 排序表达式
 * 
 * @author llc
 * 
 */
public class OrderExpression implements Serializable {

	private static final long serialVersionUID = 4302237284785739389L;
	private final String propertyName;// 属性名
	private final OrderOperator orderTag; // 操作符

	public OrderExpression(String propertyName, OrderOperator orderTag) {
		this.propertyName = propertyName;
		this.orderTag = orderTag;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public OrderOperator getOrderTag() {
		return orderTag;
	}

}
